<?php
class Config
{
	public static $dbtest = array(
			'master' => array(
				'dbname' => 'huafeng',
				'host'	=> 'localhost',
				'uname' => 'root',
				'passwd' => '123456',
				'port'	=> '3306',
			),
			'slave' => array(
				'dbname' => 'huafeng',
				'host'	=> 'localhost',
				'uname' => 'root',
				'passwd' => '123456',
				'port'	=> '3306',
			),
	);

	public static $db = array(
			'master' => array(
				'dbname' => SAE_MYSQL_DB,
				'host'	=> SAE_MYSQL_HOST_M,
				'uname' => SAE_MYSQL_USER,
				'passwd' => SAE_MYSQL_PASS,
				'port'	=> SAE_MYSQL_PORT,
			),
			'slave' => array(
				'dbname' => SAE_MYSQL_DB,
				'host'	=> SAE_MYSQL_HOST_S,
				'uname' => SAE_MYSQL_USER,
				'passwd' => SAE_MYSQL_PASS,
				'port'	=>  SAE_MYSQL_PORT,
			),
	);
}